#ifndef VECTOR_LINE_H
#define VECTOR_LINE_H

#include <QPaintDevice>
#include <QPainter>
#include <QColor>
#include <QByteArray>

#include "area.h"

class VectorLine
{

public:
    VectorLine(Area *src, Area *dest);

    void draw(QPaintDevice *area);

    bool isEqual(Area *src, Area *dest) const;
    QByteArray contains() const;

    Area *src() const;
    Area *dest() const;

private:

    Area *_src;
    Area *_dest;

};
//
#endif // VECTOR_LINE_H
